package DesignPattern.Facade;

/**
 * @Author self
 * @Date 2024/8/12 19:54
 */
// 音响系统
public class Amplifier {
    public void on() {
        System.out.println("Amplifier is on");
    }

    public void setVolume(int level) {
        System.out.println("Amplifier volume set to " + level);
    }

    public void off() {
        System.out.println("Amplifier is off");
    }
}
